import { createApp } from 'vue'
import App from './App.vue'
import router from '@/router'
import { createPinia } from 'pinia'
import { Icon } from './components'

import 'virtual:svg-icons-register' // 引入vite-plugin-svg-icons插件的注册脚本
import 'element-plus/dist/index.css'
import './style.css'

const app = createApp(App)
app.component('Icon', Icon) // 全局导入svg图标组件
app.use(router)
app.use(createPinia())
app.mount('#app')
